{include file="public/header" /}

{include file="people/user_info" /}

<div class="container mtb-15">
	<div class="list-box data-list-box">
		<div class="list-body">
			{include file="people/nav" /}
			<div class="text-muted mb10 hidden-xs text-center">
				<div class="btn-group btn-group-xs">
					<a class="btn btn-default active" href="{:url('People/focus_question', array('user_id' => $user_id))}" role="button">关注的问题</a>
					<a class="btn btn-default" href="{:url('People/focus_user', array('user_id' => $user_id))}" role="button">我关注的人</a>
					<a class="btn btn-default" href="{:url('People/focus_me', array('user_id' => $user_id))}" role="button">关注我的人</a>
				</div>
			</div>
			<table class="data-list">
				<tr>
					<th>标题</th>
					<th width="80">回答/浏览</th>
					<th width="150">关注时间</th>
					<th width="80">操作</th>
				</tr>
				{volist name="list" id="rs"}
					<tr class="data-{$rs['ask_id']}">
						<td><a href="{:url('Question/detail', array('ask_id' => $rs['ask_id']))}">{$rs['title']}</a></td>
						<td>{$rs['answer_num']}/{$rs['view_num']}</td>
						<td>{:date('Y-m-d H:i:s', $rs['user_focus_time'])}</td>
						<td><a href="{:url('Question/ask_focus', array('ask_id' => $rs['ask_id']))}" class="btn btn-default opt-tip" del-class="data-{$rs['ask_id']}">取消关注</a></td>
					</tr>
				{/volist}
			</table>
			<div class="page">{$page}</div>
		</div>
	</div>
</div>

{include file="public/footer" /}